﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GridPager.ascx.cs" Inherits="NetDon.OA.Portal.Controls.GridPager" %>
<div align="right" style="font-family:Arial;font-size:9pt;">
    <table cellspacing="0" cellpadding="0" border="0" style="padding-top: 5px;">
        <tr>
            <td>
                <div style="float: left; padding-top: 3px">
                    <asp:Label ID="lblPage" runat="server" Text="总共"></asp:Label>
                </div>
                <div style="float: left; padding-top: 3px; padding-left: 2px; padding-right: 2px;">
                    <asp:Label ID="lblTotal" runat="server" Style="font-size: 9pt"></asp:Label></div>
                <div style="float: left; padding-top: 3px; padding-right: 10px;">
                    <asp:Label ID="lblPageEnd" runat="server" Text="条记录"></asp:Label></div>
                <div style="float: left; padding-right: 5px; padding-top: 3px">
                    <asp:Label ID="lblPerPage" runat="server" Text=""></asp:Label></div>
                <div style="float: left;">
                    <asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"
                        Height="20px" Width="48px" Style="font-size: 9pt; width: 48px">
                        <asp:ListItem Value="5" Text="5"></asp:ListItem>
                        <asp:ListItem Value="10" Text="10"></asp:ListItem>
                        <asp:ListItem Value="15" Text="15"></asp:ListItem>
                        <asp:ListItem Value="20" Text="20"></asp:ListItem>
                        <asp:ListItem Value="40" Text="40"></asp:ListItem>
                        <asp:ListItem Value="100" Text="100"></asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div style="float: left; padding-left: 5px; padding-right: 10px; padding-top: 3px">
                    <asp:Label ID="lblRecord" runat="server" Text="记录数/页"></asp:Label></div>
                <div style="float: left; padding-top: 3px">
                    <asp:Label ID="Label2" runat="server" Text="页"></asp:Label>
                </div>
                <div style="float: left; padding-top: 3px; padding-left: 2px; padding-right: 2px;">
                    <asp:Label ID="lblPageIndex" runat="server" Style="font-size: 9pt"></asp:Label></div>
                <div style="float: left; padding-right: 10px; padding-top: 3px">
                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                </div>
            </td>
            <td>
                <div style="float: left; padding-left: 3px; padding-right: 3px; padding-top: 2px">
                    <asp:ImageButton ID="btnFirst" runat="server" OnClick="btnFirst_Click" /></div>
                <div style="float: left; padding-left: 3px; padding-right: 3px; padding-top: 2px">
                    <asp:ImageButton ID="btnPrev" runat="server" OnClick="btnPrev_Click" /></div>
                <div style="float: left; padding-left: 3px; padding-right: 3px">
                    <asp:DropDownList ID="dropPage" runat="server" Height="20px" Width="40px" AutoPostBack="true"
                        OnSelectedIndexChanged="dropPage_SelectedIndexChanged" Style="font-size: 9pt;
                        width: 40px" />
                </div>
                <div style="float: left; padding-left: 3px; padding-right: 3px; padding-top: 2px">
                    <asp:ImageButton ID="btnNext" runat="server" OnClick="btnNext_Click" />
                </div>
                <div style="float: left; padding-left: 3px; padding-right: 3px; padding-top: 2px">
                    <asp:ImageButton ID="btnLast" runat="server" OnClick="btnLast_Click" />
                </div>
            </td>
        </tr>
    </table>
</div>
